<script type="text/javascript" src="/public/library/jquery/jquery.form.js"></script>
<script src="/public/library/hvn/event.search.js" type="text/javascript"></script>
<script src="/public/library/hvn/event.js" type="text/javascript"></script>
<script src="/public/library/hvn/place.js" type="text/javascript"></script>

<link type="text/css" href="/public/library/jquery/calendar/excite-bike/ui.all.css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="/public/library/jquery/calendar/excite-bike/jquery-ui-1.7.1.custom.css" type="text/css" media="screen" />

<script type="text/javascript" src="/public/library/jquery/calendar/amlich.js"></script>
<script type="text/javascript" src="/public/library/jquery/calendar/ui.core.js"></script>
<script type="text/javascript" src="/public/library/jquery/calendar/ui.datepicker.js"></script>
<script type="text/javascript" src="/public/library/jquery/calendar/ui.datepicker-lang.js"></script>
<script type="text/javascript">
	var mode = '<?=$this->viewParams['mode']?>';
	$(function(){
		getAddress(mode);
	    getCategoryType(mode);
	});
</script>

<div class="box white_bg">
<div>Hello</div>
<form id = "form_id" accept-charset="UTF-8" action="<?= $this->escape($this->viewParams['form']->getAction()) ?>"
      method="<?= $this->escape($this->viewParams['form']->getMethod()) ?>">
<br/>
<?=t(13) ?> :<?=$this->viewParams['form']->title?> 

<br/>
<!-- 
<?if(isset($this->viewParams['form']->keywords)):?>
<?=t(15) ?> :<?=$this->viewParams['form']->keywords?>
<?endif?>
<?=t(204) ?> :<?=$this->viewParams['form']->events_per_page?>
<br/>

<?=t(21) ?> :<?=$this->viewParams['form']->description?>
-->
<h3> Frequency </h3>
<?=t(23) ?>:
    <?=$this->viewParams['form']->frequency?>
    <span id = "chooseDay" style="display:none">
    <?=t(17) ?>:<?=$this->viewParams['form']->fromDay?>  <?=t(18) ?>:<?=$this->viewParams['form']->toDay?> <br/>
    </span>

<br/>

<div id = "searchDate" >
<?=t(26) ?>:<?=$this->viewParams['form']->startDate; ?> <?=t(18) ?>:<?=$this->viewParams['form']->finishDate; ?> <?=$this->viewParams['form']->calendarType ?>
</div>

<h3> Category </h3>
<?=t(14) ?> :
<input type="checkbox" value="checkall" /><?=t(24) ?> | <input type="checkbox"  value="uncheckall" /><?=t(25) ?>
<br/><?=$this->viewParams['form']->category?>
<br/>
<h3> Admin Search Option </h3>
<?if(isset($this->viewParams['form']->status)):?>
<?=t(2) ?> :<?=$this->viewParams['form']->status?>
<?endif?> 

<input type ="hidden" id = "lang" value = "<?=$this->lang?>" />
<?=$this->viewParams['form']->submit ?> 
</form>      
<script>
$(function(){
	$("#frequency").trigger("change");
});
</script>

</div>